Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed setIcon with pixmap error #75

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

j0yu
Copy link

@j0yu j0yu commented May 14, 2019

⚡ Super quick one!

This patch fixes the following errors encountered as we try implement tk-multi-workfiles2 "File Open..." dialog tk-katana for Katana 3.1 (PyQt5):

  • [ERROR python.root]: A TypeError occurred in "step_list_filter.py": setIcon(self, QIcon): argument 1 has unexpected type 'QPixmap'
    Traceback (most recent call last):
      File "/Volumes/wwfx/shotgun/test_project/joe/install/app_store/tk-multi-workfiles2/v0.11.10/python/tk_multi_workfiles/step_list_filter.py", line 154, in set_widgets_for_entity_type
        self._ensure_widgets_for_entity_type(linked_entity_type)
      File "/Volumes/wwfx/shotgun/test_project/joe/install/app_store/tk-multi-workfiles2/v0.11.10/python/tk_multi_workfiles/step_list_filter.py", line 223, in _ensure_widgets_for_entity_type
        widget.setIcon(pixmap)
    TypeError: setIcon(self, QIcon): argument 1 has unexpected type 'QPixmap'

@j0yu j0yu force-pushed the fix-set-icon-pixmap branch from 0214bdb to 050c086 Compare March 11, 2021 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant